package com.shenhaofeng.app.loader.list.listener;

import android.support.v7.widget.RecyclerView;

import com.shenhaofeng.app.adapter.ModuleAdapter;


/**
 * Created by haofeng on 2016/9/28.
 */

public interface OnMoreStatusListener<D> {

    void onLoadStart(RecyclerView recyclerView, RecyclerView.Adapter adapter);


    void onLoadSuccess(RecyclerView recyclerView,  RecyclerView.Adapter adapter, D data);


    void onLoadCompleted(RecyclerView recyclerView,  RecyclerView.Adapter adapter);


    void onLoadThrowable(RecyclerView recyclerView,  RecyclerView.Adapter adapter, Throwable throwable);


}
